<?php
/* @var $this HomeController */
/* @var $model Home */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'type'); ?>
		<?php echo $form->textField($model,'type'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'city_id'); ?>
		<?php echo $form->textField($model,'city_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'disrtict_id'); ?>
		<?php echo $form->textField($model,'disrtict_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'metro_id'); ?>
		<?php echo $form->textField($model,'metro_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'address'); ?>
		<?php echo $form->textField($model,'address',array('size'=>60,'maxlength'=>512)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'owner_id'); ?>
		<?php echo $form->textField($model,'owner_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'floor'); ?>
		<?php echo $form->textField($model,'floor',array('size'=>8,'maxlength'=>8)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'comment_id'); ?>
		<?php echo $form->textField($model,'comment_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'comment_text'); ?>
		<?php echo $form->textField($model,'comment_text'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'furniture'); ?>
		<?php echo $form->textField($model,'furniture'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cooker'); ?>
		<?php echo $form->textField($model,'cooker'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'wash_machine'); ?>
		<?php echo $form->textField($model,'wash_machine'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'fridge'); ?>
		<?php echo $form->textField($model,'fridge'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cost'); ?>
		<?php echo $form->textField($model,'cost'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'area'); ?>
		<?php echo $form->textField($model,'area'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->